package aop;

import org.springframework.stereotype.Component;

@Component("target") //将目标对象交给Spring容器管理
public class Target implements TargetInterface {
    @Override
    public void save() {
        System.out.println("save running...");
    }
}
